<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" isELIgnored="false"%>
<%@ include file="/pages/common/taglibs.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<script type="text/javascript" src="${ctx}/pages/templete/js/validate/cbrmb/cbrmb_remit_query.js"></script>


<form action="${ctx}/cbrmb/remitQuery/submit.do" id="cbrmb_remit_query_form"
	name="cbrmb_remit_query_form" method="post" target="_blank">
	<input type="hidden" value="${sessionScope.gopay_webtest_key}"
		name="VerficationCode" id="VerficationCode">
	<table width="100%">
		<tr>
			<td width="30%" align=right>版本号:&nbsp;&nbsp;</td>
			<td align=left width="45%">
				<input type="text" id="version" name="version" value="2.0" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font> <span id="versionTip"></span> </td>
		</tr>
		
		<tr>
			<td width="30%" align=right>交易代码:&nbsp;&nbsp;</td>
			<td align=left width="45%">
				<input type="text" id="tranCode" name="tranCode" value="${cbrmbremitqueryinfo.tranCode }" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font> <span id="tranCodeTip"></span></td>
		</tr>
		
		<tr>
			<td width="30%" align=right>商户ID:&nbsp;&nbsp;</td>
			<td align=left width="45%">
				<input type="text" id="merchantID" name="merchantID" value="${cbrmbremitqueryinfo.merchantID }" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font> <span id="merchantIDTip"></span></td>
		</tr>
		
		<tr>
			<td width="30%" align=right>商户订单号:&nbsp;&nbsp;</td>
			<td align=left width="45%">
				<input type="text" id="merOrderNum" name="merOrderNum" value="${cbrmbremitqueryinfo.merOrderNum }" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span id="merOrderNumTip"></span></td>
		</tr>
		
		<tr>
			<td width="30%" align=right>前台通知地址:&nbsp;&nbsp;</td>
			<td align=left width="45%">
				<input type="text" id="frontMerUrl" name="frontMerUrl" value="${fn:replace(pageContext.request.requestURL,'WEB-INF/pages/layout_webtest.jsp','result/webclient/front/recv.do')}" size="50" />
			</td>
			<td width="25%" align=left><!-- <font color=red>*</font> --></td>
		</tr>
		
		<tr>
			<td width="30%" align=right>商户后台通知地址:&nbsp;&nbsp;</td>
			<td align=left width="45%">
				<input type="text" id="backgroundMerUrl" name="backgroundMerUrl" value="${fn:replace(pageContext.request.requestURL,'WEB-INF/pages/layout_webtest.jsp','result/webclient/background.do')}" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span id="backgroundMerUrlTip"></span></td>
		</tr>
		
		<tr>
			<td width="30%" align=right>交易时间:&nbsp;&nbsp;</td>
			<td align=left width="45%">
				<input type="text" id="tranDateTime" name="tranDateTime"
				<%-- value="<%=com.gopay.webtest.util.DateUtils.date2string(new java.util.Date(),
					com.gopay.webtest.util.DateUtils.DEFAULT_PATTERN)%>" --%>
					value="${cbrmbremitqueryinfo.tranDateTime }"
				size="50" /></td>
			<td width="25%" align=left><!-- <font color=red>*</font> --><span id="tranDateTimeTip"></span></td>
		</tr>
		
		<tr>
			<td width="30%" align=right>汇款金额:&nbsp;&nbsp;</td>
			<td align=left width="45%">
				<input type="text" id="tranAmt" name="tranAmt" value="${cbrmbremitqueryinfo.tranAmt }" size="50" />
			</td>
			<td width="25%" align=left><!-- <font color=red>*</font>  --><span id="tranAmtTip"></span></td>
		</tr>
		
		
		
		
        <tr>
			<td width="30%" align=right>字符集:&nbsp;&nbsp;</td>
			<td align=left width="45%" >
			   <select name="merchantEncode">
			       <option value="1">GBK</option>
			       <option value="2">UTF-8</option>
			   </select>
			</td>
			<td width="25%" align=left></td>
		</tr>	
		
		<tr>
			<td colspan=3 width="100%">
				<center>
					<input type="button" name="def_button" id="def_button" value="设置默认值">&nbsp;&nbsp;
					<input type="submit" name="submit" id="submit" value="开始测试">
				</center>
			</td>
		</tr>

	</table>
</form>
<div>
	<img src="${ctx}/image/chaxundingdan.jpg" alt="" height="200px"></img>
</div>
